<template>
  <div class="container">
    <div class="row justify-content-center d1">
      <div class="col col-5 border rounded d2">
        <div class="row justify-content-center">
          <div class="col-auto">
            <h1 class="display-4">用户注册</h1>
          </div>
        </div>
        <hr class="my-4">
        <div class="row justify-content-center">
          <div class="col-9">
            <form class="form" action="/registerIn" method="post">
              <div class="form-group">
                <input type="text" name="username" class="form-control" placeholder="账号" required>
              </div>
              <div class="form-group">
                <input type="password" name="password" class="form-control" placeholder="密码" required>
              </div>
              <div class="form-group">
                <input type="text" name="name" class="form-control" placeholder="姓名" required>
              </div>
<!--              <small class="s1">{{ msg }}</small>-->
              <button type="submit" class="btn btn-primary btn-block rounded-pill">注册</button>
            </form>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
module.exports = {
  data(){
    return {
      // msg:""
    }
  }
}
</script>

<style scoped>
.d1 {
  margin-top: 15%;
}

.d2 {
  padding: 30px;
  background: white;
  opacity: 0.9;
}

.s1 {
  margin: 0 auto 10px auto;
  font-size: 0.7em;
  line-height: 0.7em;
}
</style>